const elIconList = [
  'el-icon-plus', 'el-icon-edit', 'el-icon-minus', 'el-icon-check', 'el-icon-share', 'el-icon-close',
  'el-icon-delete', 'el-icon-picture', 'el-icon-help', 'el-icon-picture-outline',
  'el-icon-document', 'el-icon-goods', 'el-icon-sold-out',
  'el-icon-news', 'el-icon-message', 'el-icon-date',
  'el-icon-printer', 'el-icon-time', 'el-icon-bell',
  'el-icon-mobile-phone', 'el-icon-service', 'el-icon-view',
  'el-icon-menu', 'el-icon-setting',
  'el-icon-upload', 'el-icon-upload2', 'el-icon-download',
  'el-icon-loading', 'el-icon-picture-outline',
  'el-icon-setting', 'el-icon-upload', 'el-icon-wind-power',
  'el-icon-phone-outline', 'el-icon-more', 'el-icon-star-off',
  'el-icon-zoom-in', 'el-icon-circle-plus-outline', 'el-icon-picture-outline',
  'el-icon-d-caret', 'el-icon-refresh', 'el-icon-refresh-right', 'el-icon-finished', 'el-icon-sort',
  'el-icon-sort-up', 'el-icon-sort-down',
  'el-icon-rank', 'el-icon-edit-outline', 'el-icon-suitcase', 'el-icon-suitcase-1',
  'el-icon-tickets', 'el-icon-search', 'el-icon-document-delete',
  'el-icon-document-remove', 'el-icon-document-copy', 'el-icon-document-checked',
  'el-icon-user', 'el-icon-s-custom', 'el-icon-help', 'el-icon-c-scale-to-original',
  'el-icon-monitor', 'el-icon-mobile',
  'el-icon-reading', 'el-icon-data-line', 'el-icon-house',
  'el-icon-pie-chart', 'el-icon-data-analysis',
  'el-icon-receiving', 'el-icon-office-building',
  'el-icon-coin', 'el-icon-guide', 'el-icon-view',
  'el-icon-chat-line-round', 'el-icon-postcard', 'el-icon-position',
  'el-icon-bangzhu', 'el-icon-switch-button', 'el-icon-mic',
  'el-icon-first-aid-kit', 'el-icon-truck', 'el-icon-fork-spoon',
  'el-icon-sunny', 'el-icon-ship',
  'el-icon-collection', 'el-icon-money', 'el-icon-connection',
  'el-icon-set-up', 'el-icon-chat-line-square', 'el-icon-aim',
  'el-icon-medal', 'el-icon-key', 'el-icon-full-screen',
  'el-icon-odometer', 'el-icon-present', 'el-icon-sell',
  'el-icon-files', 'el-icon-collection-tag', 'el-icon-attract',
  'el-icon-folder-opened', 'el-icon-folder',
  'el-icon-folder-add', 'el-icon-folder-remove', 'el-icon-folder-delete',
  'el-icon-folder-checked', 'el-icon-brush', 'el-icon-magic-stick',
  'el-icon-mouse', 'el-icon-film', 'el-icon-notebook-1',
  'el-icon-notebook-2', 'el-icon-school', 'el-icon-bank-card',
  'el-icon-box', 'el-icon-cpu', 'el-icon-link',
  'el-icon-chat-dot-round', 'el-icon-crop', 'el-icon-copy-document',
  'el-icon-stopwatch', 'el-icon-discover', 'el-icon-location-outline', 'el-icon-map-location',
  'el-icon-add-location', 'el-icon-delete-location', 'el-icon-alarm-clock',
  'el-icon-timer', 'el-icon-dish', 'el-icon-lock',
  'el-icon-open', 'el-icon-thumb', 'el-icon-male',
  'el-icon-female', 'el-icon-price-tag', 'el-icon-discount',
  'el-icon-coordinate', 'el-icon-headset', 'el-icon-video-play',
  'el-icon-video-pause', 'el-icon-d-arrow-left', 'el-icon-d-arrow-right'

]
const req = require.context('@/icons/svg', false, /\.svg$/)
// 获取项目中所有svg 的名称
const getSvgIcon = () => {
  const svgList = []
  req.keys().forEach(x => {
    svgList.push(x.substring(2, x.length - 4))
  })
  return svgList
}

const svgIcon = getSvgIcon()

export default {
  elIconList,
  svgIcon
}
